home *** CD-ROM | disk | FTP | other *** search
/ Cream of the Crop 20 / Cream of the Crop 20 (Terry Blount) (1996).iso / os2 / lynxos25.zip / samples / lynx.cfg < prev    next >
Text File  |  1995-06-04  |  27KB  |  621 lines

  1. # lynx.cfg file.
  2. # The default placement for this file is /usr/local/lib/lynx.cfg (UNIX)
  3. #                                     or Lynx_Dir:lynx.cfg (VMS)
  4. #
  5. # Definition pairs are of the form  VARIABLE:DEFINITION
  6. # NO spaces are allowed between the pair items.
  7. #
  8. #  If you do not have access to /usr/local/bin you may change
  9. #  the default location of this file in the userdefs.h file and recompile,
  10. #  or specify it's location on the command line with the "-cfg"
  11. #  command line option.
  12. #
  13. # Items may be commented out by putting a '#' as the FIRST char of the line
  14. #
  15. # All definitions must be flush left and have NO spaces.!!!
  16. #
  17. #
  18. # STARTFILE is the default URL if none is specified on the command line 
  19. # note: these files can be remote (http://www.w3.org/default.html) 
  20. # or local (file://localhost/DIRECTORY/FILENAME
  21. #  replace DIRECTORY with the current directory path and
  22. #  FILENAME with the name of the file.
  23. #  file://localhost/dua#/DIRECTORY/FILENAME on VMS systems.)
  24. #
  25. STARTFILE:http://www.cc.ukans.edu/about_lynx/www_start.html
  26.  
  27. # HELPFILE must be defined as a URL and must have a 
  28. # complete local path name if local 
  29. # (file://localhost/DIRECTORY/FILENAME
  30. #  replace DIRECTORY with the current directory path and
  31. #  FILENAME with the name of the file.
  32. #  file://localhost/dua#/DIRECTORY/FILENAME on VMS systems.)
  33. # the default HELPFILE is:
  34. # http://kufacts.cc.ukans.edu/lynx_help/lynx_help_main.html
  35. # This file will be updated as needed.
  36. #
  37. HELPFILE:http://kufacts.cc.ukans.edu/lynx_help/lynx_help_main.html
  38.  
  39. # JUMPFILE is the local file checked for shortcut URL's when the
  40. # user presses the 'J' (JUMP) key.  The user will be prompted for
  41. # a shortcut entry (analogously to 'g'oto), and can enter one
  42. # or use '?' for a list of the shortcuts with associated links to
  43. # their actual URL's.  See the sample jumps files in the samples
  44. # subdirectory.  Make sure your jumps file includes a '?' shortcut
  45. # for a file://localhost URL to itself:
  46. #
  47. # <dt>?<dd><a href="file://localhost/path/jumps.html">This Shortcut List</a>
  48. #
  49. # If not defined here or in userdefs.h, the JUMP command will invoke
  50. # the NO_JUMPFILE statusline message (see userdefs.h).
  51. #
  52. # On VMS, use Unix SHELL syntax (including a lead slash) to define it.
  53. #
  54. # Do not include "file://localhost" in the definition.
  55. #
  56. #JUMPFILE:/Lynx_Dir/jumps.html
  57.  
  58. # DEFAULT_INDEX_FILE is the default file retrieved when the
  59. # user presses the 'I' key when viewing any document.
  60. # An index to your CWIS can be placed here or a document containing
  61. # pointers to lots of interesting places on the web.
  62. #
  63. #DEFAULT_INDEX_FILE:http://www.w3.org/default.html
  64. DEFAULT_INDEX_FILE:http://www.ncsa.uiuc.edu/SDG/Software/Mosaic/MetaIndex.html
  65.  
  66. # The CHARACTER_SET defines the users default 8 bit character set
  67. # which is used to represent the list of character entities within
  68. # HTML. New character sets may be defined by modifying the file
  69. # src/LYCharSets in the Lynx source code distribution and
  70. # recompiling.
  71. # The default character sets include:
  72. #    ISO Latin 1
  73. #    DEC Multinational
  74. #    IBM PC character set
  75. #    NeXT character set
  76. #    7 bit approximations
  77. #
  78. CHARACTER_SET:ISO Latin 1
  79.  
  80. # If BOLD_HEADERS is set to TRUE the HT_BOLD default style will be
  81. # acted upon for <H1> through <H7> headers.  The compilation default
  82. # is FALSE (only the uppercasing and indentation styles are acted
  83. # upon).  On Unix, compilation with -DUNDERLINE_LINKS also will
  84. # apply to the HT_BOLD style for headers when BOLD_HEADERS is TRUE.
  85. #
  86. BOLD_HEADERS:FALSE
  87.  
  88. # Local execution links and scripts are completely disabled
  89. # in the source code unless they are enabled in the
  90. # userdefs.h file and the sources recompiled.  Please
  91. # see the Lynx source code distribution and the userdefs.h
  92. # file for more detail on enabling execution links and scripts.
  93. #
  94. # If you have enabled execution links or scripts the following
  95. # two variables control Lynx's action when an execution link
  96. # or script is encountered.
  97. #
  98. # If LOCAL_EXECUTION_LINKS_ALWAYS_ON is set to TRUE any execution
  99. # link or script will be executed no matter where it came from.
  100. # This is EXTREMELY dangerous.  Since Lynx can access files from
  101. # anywhere in the world, you may encounter links or scripts that
  102. # will cause damage or comprimise the security of your system.
  103. #
  104. # If LOCAL_EXECUTION_LINKS_ON_BUT_NOT_REMOTE is set to TRUE only
  105. # links or scripts that reside on the local machine and are
  106. # referenced with a URL beginning with "file://localhost/" or via
  107. # TRUSTED_EXEC rules (see below) will be executed.  This is much
  108. # less dangerous than enabling all execution links, but can still
  109. # be dangerous.
  110. #
  111. LOCAL_EXECUTION_LINKS_ALWAYS_ON:FALSE
  112. LOCAL_EXECUTION_LINKS_ON_BUT_NOT_REMOTE:FALSE
  113.  
  114. # If LOCAL_EXECUTION_LINK_ON_BUT_NOT_REMOTE is TRUE, and no TRUSTED_EXEC
  115. # rule is defined, it defaults to "file://localhost/" and any lynxexec
  116. # command will be permitted if it was referenced with a URL beginning with
  117. # that string.  If you wish to restrict the referencing URL's further, you
  118. # can extend the string to include a trusted path.  You also can specify
  119. # a trusted directory for http URL's, which will then be treated as if they
  120. # were local rather than remote.  For example:
  121. #
  122. #    TRUSTED_EXEC:file://localhost/trusted/
  123. #    TRUSTED_EXEC:http://sci.wfeb.edu/trusted/
  124. #
  125. # If you also wish to restrict the commands which can be executed, create
  126. # a series of rules with the path (Unix) or command name (VMS) following
  127. # the string, separated by a tab.  For example:
  128. #
  129. # Unix:
  130. #    TRUSTED_EXEC:file://localhost/    bin/cp
  131. #    TRUSTED_EXEC:file://localhost/    bin/rm
  132. # VMS:
  133. #    TRUSTED_EXEC:file://localhost/    copy
  134. #    TRUSTED_EXEC:file://localhost/    delete
  135. #
  136. # Once you specify a TRUSTED_EXEC referencing string, the default is
  137. # replaced, and all the referencing strings you desire must be specified
  138. # as a series.  Similarly, if you associate a command with the referencing
  139. # string, you must specify all of the allowable commands as a series of
  140. # TRUSTED_EXEC rules for that string.
  141. #
  142. # If EXEC_LINKS and JUMPFILE have been defined, any lynxexec URL's in that
  143. # file will be permitted, regardless of other settings.  If you also set
  144. # LOCAL_EXECUTION_LINKS_ON_BUT_NOT_REMOTE:TRUE and a single TRUSTED_EXEC
  145. # rule that will always fail (e.g., "none"), then *ONLY* the lynxexec URL's
  146. # in JUMPFILE will be allowed.
  147. #
  148. #TRUSTED_EXEC:none
  149.  
  150. #  MAIL_SYSTEM_ERROR_LOGGING will send a message to the owner of 
  151. #  the information, or ALERTMAIL if there is no owner, every time
  152. #  that a document cannot be accessed!
  153. #
  154. #  NOTE: This can generate A LOT of mail, be warned.
  155. #
  156. MAIL_SYSTEM_ERROR_LOGGING:FALSE
  157.  
  158. # If CHECKMAIL is set to TRUE, the user will be informed (via a statusline
  159. # message) about the existence of any unread mail at startup of Lynx, and
  160. # will get statusline messages if subsequent new mail arrives.  If a jumps
  161. # file with a lynxexec URL for invoking mail is available, or your html
  162. # pages include an mail launch file URL, the user thereby can access mail
  163. # and read the messages.  The checks and statusline reports will not be
  164. # performed if Lynx has been invoked with the -restrictions=mail switch.
  165. #
  166. #  VMS USERS !!!
  167. # New mail is normally broadcast as it arrives, via "unsolicitied screen
  168. # broadcasts", which can be "wiped" from the Lynx display via the Ctrl-W
  169. # command.  You may prefer to disable the broadcasts and use CHECKMAIL
  170. # instead (e.g., in a public account which will be used by people who
  171. # are ignorant about VMS).
  172. #
  173. CHECKMAIL:FALSE
  174.  
  175. # VMS:
  176. #=====
  177. # INEWS is the foreign command for the ANU-NEWS client (normally defined
  178. # as "NEWS" in userdefs.h) which serves as a transparent vector for posting
  179. # to newsgroups from Lynx via the ANU-NEWS client's server.  The account
  180. # running Lynx must have access to the ANU-NEWS client, which in turn must
  181. # have posting privileges (the news server could also be ANU-NEWS, or any
  182. # other server to which the ANU-NEWS client has access).  You can disable
  183. # news posting by setting INEWS to "none", or via -restrictions switches.
  184. # The ANU-NEWS software for VMS is available from ftp.cc.ukans.edu.
  185. #
  186. #INEWS:NEWS
  187.  
  188. # UNIX:
  189. #======
  190. # Set INEWS to the full path and name of your program for posting to
  191. # newsgroups.  A "mini" inews is